#pragma once

#include "rtda/heap/cp_symref.h"

namespace jvm {
namespace heap {

class ClassRef : public SymRef {
public:
    ClassRef(std::shared_ptr<ConstantPool> pCp, const std::string& className);
    static std::shared_ptr<ClassRef> newClassRef(std::shared_ptr<ConstantPool> pCp, const std::shared_ptr<classfile::ConstantClassInfo> pClassInfo);
};

} // namespace heap
} // namespace jvm
